package com.a2v2.online.store.common.aop;
import org.aspectj.lang.annotation.Pointcut;
public class SystemPointcut {
	
    /**
     * A join point is in the data access layer if the method is defined
     * in a type in the com.expresspay.database.dao package or any sub-package
     * under that.
     */
    @Pointcut("within(com.expresspay.database.dao.impl..*)")
    public void inDataAccessLayer() { }
    
    /**
     * A join point is in the data access layer if the method is defined
     * in a type in the com.expresspay.service.impl package or any sub-package
     * under that.
     */
    @Pointcut("execution(* com.expresspay.service.impl.AuthenticateServiceImpl.authenticate(..))")
    public void authenticate() { }

    @Pointcut("execution(* com.expresspay.service.impl.AuthenticateServiceImpl.updateUserSession(..))")
    public void updateUserSession() { }
    
    @Pointcut("@annotation(com.expresspay.common.annotation.AuthenticateService))")
    public void authenticateService() { }
    
    @Pointcut("within(com.expresspay.service.impl..*)")
    public void inServiceLayer() { }
    
    

}
